using System;
using System.ComponentModel.DataAnnotations;

namespace Domain
{
    /// <summary>
    /// 企业信息表实体
    /// </summary>
    public class Enterprise : AuditFields
    {
        /// <summary>
        /// 企业ID（主键，自增）
        /// </summary>
        [Key]
        public int EnterpriseId { get; set; }

        /// <summary>
        /// 企业名称
        /// </summary>
        public string? EnterpriseName { get; set; }

        /// <summary>
        /// 养殖场名称
        /// </summary>
        public string? FarmName { get; set; }

        /// <summary>
        /// 企业负责人
        /// </summary>
        public string? EnterpriseManager { get; set; }

        /// <summary>
        /// 存栏数量
        /// </summary>
        public int? StockCount { get; set; }

        /// <summary>
        /// 企业地址
        /// </summary>
        public string? Address { get; set; }

        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime? EstablishedAt { get; set; }

        /// <summary>
        /// 企业简介
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string? ProductionLicenseNumber { get; set; }

        /// <summary>
        /// 班组名称
        /// </summary>
        public string? TeamName { get; set; }

        /// <summary>
        /// 班组负责人
        /// </summary>
        public string? TeamManager { get; set; }
    }
} 